import WS from 'nodejs-websocket';
import { User } from '../hall/User';

class WebSocketService {
    start() {
        WS.createServer(connection => {
            new User(connection);
        }).listen(8082)

    }
}

export default new WebSocketService();